package ltd.newbee.mall.dao;

import ltd.newbee.mall.entity.Carousel;
import ltd.newbee.mall.entity.Video;
import ltd.newbee.mall.util.PageQueryUtil;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VideoMapper {
    int addVideo(Video video);

    int updateVideo(Video video);

    int deleteBatch(Long[] ids);

    List<Video> findVideoList(PageQueryUtil pageUtil);

    int getTotalVideos(PageQueryUtil pageUtil);
}
